 

package com.zdkj.subway.stm.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 发票结存
 *
 * @author zdkj code generator
 * @date 2020-05-25 10:42:55
 */
@Data
@TableName("sw_st_invoice_balance")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "发票结存")
public class SwStInvoiceBalance extends Model<SwStInvoiceBalance> {
private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelIgnore
    @TableId
    @ApiModelProperty(value="唯一标识")
    private Integer id;
    /**
     * 线路编码，不能重复
     */
    @ExcelProperty(value = "线路", index = 0)
    @ApiModelProperty(value="线路编码，不能重复")
    private String lineCode;
    /**
     * 车站编码，不能重复
     */
    @ExcelProperty(value = "车站", index = 1)
    @ApiModelProperty(value="车站编码，不能重复")
    private String stationCode;
    /**
     * 发票类型
     */
    @ExcelProperty(value = "发票类型", index = 2)
    @ApiModelProperty(value="发票类型")
    private String invoiceType;
    /**
     * 发票名称
     */
    @ExcelProperty(value = "发票名称", index = 3)
    @ApiModelProperty(value="发票名称")
    private String invoiceName;
    /**
     * 发票起号
     */
    @ExcelProperty(value = "发票起号", index = 4)
    @ApiModelProperty(value="发票起号")
    private String invoiceStart;
    /**
     * 发票止号
     */
    @ExcelProperty(value = "发票止号", index = 5)
    @ApiModelProperty(value="发票止号")
    private String invoiceEnd;
    /**
     * 面额
     */
    @ExcelProperty(value = "面额", index = 6)
    @ApiModelProperty(value="面额")
    private String invoiceMoney;
    /**
     * 使用数量
     */
    @ExcelProperty(value = "使用数量", index = 7)
    @ApiModelProperty(value="使用数量")
    private Integer useNumber;
    /**
     * 结存数量
     */
    @ExcelProperty(value = "结存数量", index = 8)
    @ApiModelProperty(value="结存数量")
    private Integer balanceNumber;
    /**
     * 结存统计日期
     */
    @ExcelProperty(value = "结存统计日期", index = 9)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value="结存统计日期")
    private LocalDate startEndDate;
    /**
     * 部门ID
     */
    @ExcelIgnore
    @ApiModelProperty(value="部门ID")
    private Integer deptId;
    /**
     * 创建人ID
     */
    @ExcelIgnore
    @ApiModelProperty(value="创建人ID")
    private Integer creatorId;
    /**
     * 创建人名称
     */
    @ExcelIgnore
    @ApiModelProperty(value="创建人名称")
    private String creatorName;
    /**
     * 创建时间
     */
    @ExcelIgnore
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    @ExcelIgnore
    @ApiModelProperty(value="修改时间")
    private LocalDateTime updateTime;
    /**
     * 删除:1 未删除0
     */
    @ExcelIgnore
    @TableLogic
    @ApiModelProperty(value="删除:1 未删除0")
    private String delFlag;
    }
